//
// Created by 51165 on 2025/10/17.
//
#include <stdio.h> //代码1
int main()
{
    int year = 0;
    scanf("%d", &year);
    if(year % 4 == 0 && year % 100 != 0)
        printf("是闰年\n");
    else if(year % 400 == 0)
        printf("是闰年\n");
    return 0;
}

//代码2
int main() {
    int year = 0;
    scanf("%d", &year);
    if((year % 4 == 0 && year % 100 != 0) || (year % 400 == 0))
        printf("是闰年\n");
    return 0;
}